"use strict";

/**
 * @auther wtfssd
 * Created by wtfssd on 2017/10/30
 */
import * as React from 'react'
import {SCREEN_WIDTH} from "../constant";
import {WhiteSpaceProps} from "../interface/index";
import {autoSize} from "../assets/styles/common";

const {View, Text} = require('react-native');
class WhiteSpace extends React.Component<WhiteSpaceProps, any> {

    static defaultProps = {
        height:autoSize(15),
        color:'transparent',
    };
    render() {
        return (
            <View style={[{width:SCREEN_WIDTH,height:this.props.height, backgroundColor:this.props.color},this.props.style]}/>
        );
    }
}


export default WhiteSpace;